<!--

     Licensed to the Apache Software Foundation (ASF) under one
     or more contributor license agreements.  See the NOTICE file
     distributed with this work for additional information
     regarding copyright ownership.  The ASF licenses this file
     to you under the Apache License, Version 2.0 (the
     "License"); you may not use this file except in compliance
     with the License.  You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing,
     software distributed under the License is distributed on an
     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     KIND, either express or implied.  See the License for the
     specific language governing permissions and limitations
     under the License.

-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- **************************************************************** -->
<!-- *  PLEASE KEEP COMPLICATED EXPRESSIONS OUT OF THESE TEMPLATES, * -->
<!-- *  i.e. only iterate & print data where possible. Thanks, Jez. * -->
<!-- **************************************************************** -->

<html>
<head>
    <!-- Generated by groovydoc (2.4.7) on Thu Dec 01 22:36:11 PST 2016 -->
    <title>NotificationMessage (Moqui Framework 2.0.0)</title>
    <meta name="date" content="2016-12-01">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
    <link href="../../../groovy.ico" type="image/x-icon" rel="icon">
    <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">

<body class="center">
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
    parent.document.title="NotificationMessage (Moqui Framework 2.0.0)";
}
//-->
</script>
<noscript>
    <div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
    <!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
    <!--   -->
</a>
    <ul class="navList" title="Navigation">
        <li><a href="../../../overview-summary.html">Overview</a></li>
        <li><a href="package-summary.html">Package</a></li>
        <li class="navBarCell1Rev">Class</li>
        <li><a href="../../../deprecated-list.html">Deprecated</a></li>
        <li><a href="../../../index-all.html">Index</a></li>
        <li><a href="../../../help-doc.html">Help</a></li>
    </ul>
</div>

<div class="subNav">
    <div>
        <ul class="navList">
            <li><a href="../../../index.html?org/moqui/context/NotificationMessage" target="_top">Frames</a></li>
            <li><a href="NotificationMessage.html" target="_top">No Frames</a></li>
        </ul>
    </div>
    <div>
        <ul class="subNavList">
            <li>Summary:&nbsp;</li>
            <li><a href="#nested_summary">Nested</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#field_summary">Field</a></li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<li><a href="#method_summary">Method</a></li>&nbsp;&nbsp;&nbsp;
        </ul>
        <ul class="subNavList">
            <li>&nbsp;|&nbsp;Detail:&nbsp;</li>
            <li><a href="#field_detail">Field</a></li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<li><a href="#method_detail">Method</a></li>&nbsp;&nbsp;&nbsp;
        </ul>
    </div>
    <a name="skip-navbar_top">
        <!--   -->
    </a></div>
<!-- ========= END OF TOP NAVBAR ========= -->

<!-- ======== START OF CLASS DATA ======== -->
<div class="header">

    <div class="subTitle">Package: <strong>org.moqui.context</strong></div>

    <h2 title="[Java] Interface NotificationMessage" class="title">[Java] Interface NotificationMessage</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">

</ul>
<div class="description">
    <ul class="blockList">
        <li class="blockList">


          </li>
    </ul>
</div>

<div class="summary">
    <ul class="blockList">
        <li class="blockList">
        <!-- =========== NESTED CLASS SUMMARY =========== -->
        
            <ul class="blockList">
                <li class="blockList"><a name="nested_summary"><!--   --></a>
                    <h3>Nested Class Summary</h3>
                    <ul class="blockList">
                    <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
                        <caption><span>Nested classes</span><span class="tabEnd">&nbsp;</span></caption>
                        <tr>
                            <th class="colFirst" scope="col">Modifiers</th>
                            <th class="colLast" scope="col">Name</th>
                            <th class="colLast" scope="col">Description</th>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><strong>enum</strong></code>&nbsp;</td>
                            <td class="colLast"><code><a href='../../../org/moqui/context/NotificationMessage.NotificationType.html'>NotificationMessage.NotificationType</a></code></td>
                            <td class="colLast"></code></td>
                        </tr>
                        
                    </table>
                   </ul>
                </li>
            </ul>
        

        <!-- =========== ENUM CONSTANT SUMMARY =========== -->
        
        <!-- =========== FIELD SUMMARY =========== -->
        
            <ul class="blockList">
                <li class="blockList"><a name="field_summary"><!--   --></a>
                    <h3>Field Summary</h3>
                    <ul class="blockList">
                    <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum constants summary table">
                        <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
                        <tr>
                            <th class="colFirst" scope="col">Modifiers</th>
                            <th class="colLast" scope="col">Name</th>
                            <th class="colLast" scope="col">Description</th>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><strong><a href='../../../org/moqui/context/NotificationMessage.NotificationType.html'>NotificationMessage.NotificationType</a></strong></code>&nbsp;</td>
                            <td class="colLast"><code><a href="#danger">danger</a></code></td>
                            <td class="colLast"></code></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><strong><a href='../../../org/moqui/context/NotificationMessage.NotificationType.html'>NotificationMessage.NotificationType</a></strong></code>&nbsp;</td>
                            <td class="colLast"><code><a href="#info">info</a></code></td>
                            <td class="colLast"></code></td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><strong><a href='../../../org/moqui/context/NotificationMessage.NotificationType.html'>NotificationMessage.NotificationType</a></strong></code>&nbsp;</td>
                            <td class="colLast"><code><a href="#success">success</a></code></td>
                            <td class="colLast"></code></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><strong><a href='../../../org/moqui/context/NotificationMessage.NotificationType.html'>NotificationMessage.NotificationType</a></strong></code>&nbsp;</td>
                            <td class="colLast"><code><a href="#warning">warning</a></code></td>
                            <td class="colLast"></code></td>
                        </tr>
                        
                    </table>
                   </ul>
                </li>
                
            </ul>
        

        <!-- =========== PROPERTY SUMMARY =========== -->
        

        <!-- =========== ELEMENT SUMMARY =========== -->
        

        

        
        <!-- ========== METHOD SUMMARY =========== -->
        <ul class="blockList">
            
            <li class="blockList"><a name="method_summary"><!--   --></a>
                    <h3>Methods Summary</h3>
                    <ul class="blockList">
                    <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Methods Summary table">
                        <caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
                        <tr>
                            <th class="colFirst" scope="col">Type</th>
                            <th class="colLast" scope="col">Name and description</th>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>java.lang.String</strong></code></td>
                            <td class="colLast"><code><strong><a href="#getLink()">getLink</a></strong>()</code><br>Get the link to detail/source, expanded using the message Map; if not set and topic has a NotificationTopic record will default to value there</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>java.lang.String</strong></code></td>
                            <td class="colLast"><code><strong><a href="#getMessageJson()">getMessageJson</a></strong>()</code><br></td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>java.util.Map&lt;java.lang.String, java.lang.Object&gt;</strong></code></td>
                            <td class="colLast"><code><strong><a href="#getMessageMap()">getMessageMap</a></strong>()</code><br></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>java.lang.String</strong></code></td>
                            <td class="colLast"><code><strong><a href="#getNotificationMessageId()">getNotificationMessageId</a></strong>()</code><br></td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>java.util.Set&lt;java.lang.String&gt;</strong></code></td>
                            <td class="colLast"><code><strong><a href="#getNotifyUserIds()">getNotifyUserIds</a></strong>()</code><br>Get userId for all users associated with this notification, directly or through the UserGroup, and who have
 NotificationTopicUser.receiveNotifications=Y, which if not set (or there is no NotificationTopicUser record)
 defaults to NotificationTopic.receiveNotifications (if not set defaults to Y)</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>java.lang.String</strong></code></td>
                            <td class="colLast"><code><strong><a href="#getTitle()">getTitle</a></strong>()</code><br>Get the title, expanded using the message Map; if not set and topic has a NotificationTopic record will default to value there</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>java.lang.String</strong></code></td>
                            <td class="colLast"><code><strong><a href="#getTopic()">getTopic</a></strong>()</code><br></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>java.lang.String</strong></code></td>
                            <td class="colLast"><code><strong><a href="#getType()">getType</a></strong>()</code><br>Get the type as a String; if not set and topic has a NotificationTopic record will default to value there</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>java.lang.String</strong></code></td>
                            <td class="colLast"><code><strong><a href="#getUserGroupId()">getUserGroupId</a></strong>()</code><br></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>java.util.Set&lt;java.lang.String&gt;</strong></code></td>
                            <td class="colLast"><code><strong><a href="#getUserIds()">getUserIds</a></strong>()</code><br></td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>java.lang.String</strong></code></td>
                            <td class="colLast"><code><strong><a href="#getWrappedMessageJson()">getWrappedMessageJson</a></strong>()</code><br>Result of getWrappedMessageMap() as a JSON String</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>java.util.Map&lt;java.lang.String, java.lang.Object&gt;</strong></code></td>
                            <td class="colLast"><code><strong><a href="#getWrappedMessageMap()">getWrappedMessageMap</a></strong>()</code><br>Get a Map with: topic, sentDate, notificationMessageId, message, title, link, type, and showAlert using the get method for each</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>boolean</strong></code></td>
                            <td class="colLast"><code><strong><a href="#isPersistOnSend()">isPersistOnSend</a></strong>()</code><br></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>boolean</strong></code></td>
                            <td class="colLast"><code><strong><a href="#isShowAlert()">isShowAlert</a></strong>()</code><br>Show an alert for this notification? </td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../org/moqui/context/NotificationMessage.html'>NotificationMessage</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#link(java.lang.String)">link</a></strong>(java.lang.String link)</code><br>Set the link to get more detail about the notification or go to its source, a GString (${} syntax) expanded using the message Map</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../org/moqui/context/NotificationMessage.html'>NotificationMessage</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#markSent(java.lang.String)">markSent</a></strong>(java.lang.String userId)</code><br></td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../org/moqui/context/NotificationMessage.html'>NotificationMessage</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#markViewed(java.lang.String)">markViewed</a></strong>(java.lang.String userId)</code><br></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../org/moqui/context/NotificationMessage.html'>NotificationMessage</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#message(java.lang.String)">message</a></strong>(java.lang.String messageJson)</code><br>Set the message as a JSON String. </td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../org/moqui/context/NotificationMessage.html'>NotificationMessage</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#message(Map<String, Object>)">message</a></strong>(java.util.Map&lt;java.lang.String, java.lang.Object&gt; message)</code><br>Set the message as a JSON String. </td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../org/moqui/context/NotificationMessage.html'>NotificationMessage</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#persistOnSend(boolean)">persistOnSend</a></strong>(boolean persist)</code><br></td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../org/moqui/context/NotificationMessage.html'>NotificationMessage</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#send(boolean)">send</a></strong>(boolean persist)</code><br>Send this Notification Message.</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../org/moqui/context/NotificationMessage.html'>NotificationMessage</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#send()">send</a></strong>()</code><br>Send this Notification Message using persistOnSend setting (defaults to false).</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../org/moqui/context/NotificationMessage.html'>NotificationMessage</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#showAlert(boolean)">showAlert</a></strong>(boolean show)</code><br></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../org/moqui/context/NotificationMessage.html'>NotificationMessage</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#title(java.lang.String)">title</a></strong>(java.lang.String title)</code><br>Set the title to display, a GString (${} syntax) that will be expanded using the message Map; may be a localization template name</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../org/moqui/context/NotificationMessage.html'>NotificationMessage</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#topic(java.lang.String)">topic</a></strong>(java.lang.String topic)</code><br></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../org/moqui/context/NotificationMessage.html'>NotificationMessage</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#type(org.moqui.context.NotificationMessage.NotificationType)">type</a></strong>(<a href='../../../org/moqui/context/NotificationMessage.NotificationType.html'>NotificationMessage.NotificationType</a> type)</code><br></td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../org/moqui/context/NotificationMessage.html'>NotificationMessage</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#type(java.lang.String)">type</a></strong>(java.lang.String type)</code><br>Must be a String for a valid NotificationType (ie info, success, warning, or danger)</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../org/moqui/context/NotificationMessage.html'>NotificationMessage</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#userGroupId(java.lang.String)">userGroupId</a></strong>(java.lang.String userGroupId)</code><br></td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../org/moqui/context/NotificationMessage.html'>NotificationMessage</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#userId(java.lang.String)">userId</a></strong>(java.lang.String userId)</code><br></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../org/moqui/context/NotificationMessage.html'>NotificationMessage</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#userIds(Set<String>)">userIds</a></strong>(java.util.Set&lt;java.lang.String&gt; userIds)</code><br></td>
                        </tr>
                        
                    </table>
                   </ul>
              </li>
            
            <li class="blockList"><a name="method_summary"><!--   --></a>
                    <h3>Inherited Methods Summary</h3>
                    <ul class="blockList">
                    <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Inherited Methods Summary table">
                        <caption><span>Inherited Methods</span><span class="tabEnd">&nbsp;</span></caption>
                        <tr>
                            <th class="colFirst" scope="col">Methods inherited from class</th>
                            <th class="colLast" scope="col">Name</th>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>class java.lang.Object</strong></code></td>
                            <td class="colLast"><code>java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()</code></td>
                        </tr>
                    </table>
                   </ul>
              </li>
                
        </ul>
        
    </li>
    </ul>
</div>

<div class="details">
    <ul class="blockList">
        <li class="blockList">
           

            
            <!-- =========== FIELD DETAIL =========== -->
            <ul class="blockList">
                <li class="blockList"><a name="field_detail">
                    <!--   -->
                </a>
                    <h3>Field Detail</h3>
                    
                        <a name="danger"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>public&nbsp;<a href='../../../org/moqui/context/NotificationMessage.NotificationType.html'>NotificationMessage.NotificationType</a> <strong>danger</strong></h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="info"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>public&nbsp;<a href='../../../org/moqui/context/NotificationMessage.NotificationType.html'>NotificationMessage.NotificationType</a> <strong>info</strong></h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="success"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>public&nbsp;<a href='../../../org/moqui/context/NotificationMessage.NotificationType.html'>NotificationMessage.NotificationType</a> <strong>success</strong></h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="warning"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>public&nbsp;<a href='../../../org/moqui/context/NotificationMessage.NotificationType.html'>NotificationMessage.NotificationType</a> <strong>warning</strong></h4>
                                <p></p>
                            </li>
                        </ul>
                    
                </li>
            </ul>
            

            

            

            


            
            <!-- =========== METHOD DETAIL =========== -->
            <ul class="blockList">
                <li class="blockList"><a name="method_detail">
                    <!--   -->
                </a>
                    <h3>Method Detail</h3>
                    
                        <a name="getLink()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>public&nbsp;java.lang.String <strong>getLink</strong>()</h4>
                                <p> Get the link to detail/source, expanded using the message Map; if not set and topic has a NotificationTopic record will default to value there </p>
                            </li>
                        </ul>
                    
                        <a name="getMessageJson()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>public&nbsp;java.lang.String <strong>getMessageJson</strong>()</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="getMessageMap()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>public&nbsp;java.util.Map&lt;java.lang.String, java.lang.Object&gt; <strong>getMessageMap</strong>()</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="getNotificationMessageId()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>public&nbsp;java.lang.String <strong>getNotificationMessageId</strong>()</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="getNotifyUserIds()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>public&nbsp;java.util.Set&lt;java.lang.String&gt; <strong>getNotifyUserIds</strong>()</h4>
                                <p> Get userId for all users associated with this notification, directly or through the UserGroup, and who have
 NotificationTopicUser.receiveNotifications=Y, which if not set (or there is no NotificationTopicUser record)
 defaults to NotificationTopic.receiveNotifications (if not set defaults to Y) </p>
                            </li>
                        </ul>
                    
                        <a name="getTitle()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>public&nbsp;java.lang.String <strong>getTitle</strong>()</h4>
                                <p> Get the title, expanded using the message Map; if not set and topic has a NotificationTopic record will default to value there </p>
                            </li>
                        </ul>
                    
                        <a name="getTopic()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>public&nbsp;java.lang.String <strong>getTopic</strong>()</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="getType()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>public&nbsp;java.lang.String <strong>getType</strong>()</h4>
                                <p> Get the type as a String; if not set and topic has a NotificationTopic record will default to value there </p>
                            </li>
                        </ul>
                    
                        <a name="getUserGroupId()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>public&nbsp;java.lang.String <strong>getUserGroupId</strong>()</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="getUserIds()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>public&nbsp;java.util.Set&lt;java.lang.String&gt; <strong>getUserIds</strong>()</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="getWrappedMessageJson()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>public&nbsp;java.lang.String <strong>getWrappedMessageJson</strong>()</h4>
                                <p> Result of getWrappedMessageMap() as a JSON String </p>
                            </li>
                        </ul>
                    
                        <a name="getWrappedMessageMap()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>public&nbsp;java.util.Map&lt;java.lang.String, java.lang.Object&gt; <strong>getWrappedMessageMap</strong>()</h4>
                                <p> Get a Map with: topic, sentDate, notificationMessageId, message, title, link, type, and showAlert using the get method for each </p>
                            </li>
                        </ul>
                    
                        <a name="isPersistOnSend()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>public&nbsp;boolean <strong>isPersistOnSend</strong>()</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="isShowAlert()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>public&nbsp;boolean <strong>isShowAlert</strong>()</h4>
                                <p> Show an alert for this notification? If not set and topic has a NotificationTopic record will default to value there </p>
                            </li>
                        </ul>
                    
                        <a name="link(java.lang.String)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>public&nbsp;<a href='../../../org/moqui/context/NotificationMessage.html'>NotificationMessage</a> <strong>link</strong>(java.lang.String link)</h4>
                                <p> Set the link to get more detail about the notification or go to its source, a GString (${} syntax) expanded using the message Map </p>
                            </li>
                        </ul>
                    
                        <a name="markSent(java.lang.String)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>public&nbsp;<a href='../../../org/moqui/context/NotificationMessage.html'>NotificationMessage</a> <strong>markSent</strong>(java.lang.String userId)</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="markViewed(java.lang.String)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>public&nbsp;<a href='../../../org/moqui/context/NotificationMessage.html'>NotificationMessage</a> <strong>markViewed</strong>(java.lang.String userId)</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="message(java.lang.String)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>public&nbsp;<a href='../../../org/moqui/context/NotificationMessage.html'>NotificationMessage</a> <strong>message</strong>(java.lang.String messageJson)</h4>
                                <p> Set the message as a JSON String. The top-level should be a Map (JSON Object).
     <DL><DT><B>Returns:</B></DT><DD>Self-reference for convenience</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>messageJson</code> -  The message as a JSON string containing a Map (JSON Object)</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="message(Map<String, Object>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>public&nbsp;<a href='../../../org/moqui/context/NotificationMessage.html'>NotificationMessage</a> <strong>message</strong>(java.util.Map&lt;java.lang.String, java.lang.Object&gt; message)</h4>
                                <p> Set the message as a JSON String. The top-level should be a Map (JSON Object).
     <DL><DT><B>Returns:</B></DT><DD>Self-reference for convenience</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>message</code> -  The message as a Map (JSON Object), must be convertible to JSON String</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="persistOnSend(boolean)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>public&nbsp;<a href='../../../org/moqui/context/NotificationMessage.html'>NotificationMessage</a> <strong>persistOnSend</strong>(boolean persist)</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="send(boolean)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>public&nbsp;<a href='../../../org/moqui/context/NotificationMessage.html'>NotificationMessage</a> <strong>send</strong>(boolean persist)</h4>
                                <p> Send this Notification Message.
     <DL><DT><B>Returns:</B></DT><DD>Self-reference for convenience</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>persist</code> -  If true this is persisted and message received is tracked. If false this is sent to active topic
                listeners only.</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="send()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>public&nbsp;<a href='../../../org/moqui/context/NotificationMessage.html'>NotificationMessage</a> <strong>send</strong>()</h4>
                                <p> Send this Notification Message using persistOnSend setting (defaults to false). </p>
                            </li>
                        </ul>
                    
                        <a name="showAlert(boolean)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>public&nbsp;<a href='../../../org/moqui/context/NotificationMessage.html'>NotificationMessage</a> <strong>showAlert</strong>(boolean show)</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="title(java.lang.String)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>public&nbsp;<a href='../../../org/moqui/context/NotificationMessage.html'>NotificationMessage</a> <strong>title</strong>(java.lang.String title)</h4>
                                <p> Set the title to display, a GString (${} syntax) that will be expanded using the message Map; may be a localization template name </p>
                            </li>
                        </ul>
                    
                        <a name="topic(java.lang.String)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>public&nbsp;<a href='../../../org/moqui/context/NotificationMessage.html'>NotificationMessage</a> <strong>topic</strong>(java.lang.String topic)</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="type(org.moqui.context.NotificationMessage.NotificationType)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>public&nbsp;<a href='../../../org/moqui/context/NotificationMessage.html'>NotificationMessage</a> <strong>type</strong>(<a href='../../../org/moqui/context/NotificationMessage.NotificationType.html'>NotificationMessage.NotificationType</a> type)</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="type(java.lang.String)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>public&nbsp;<a href='../../../org/moqui/context/NotificationMessage.html'>NotificationMessage</a> <strong>type</strong>(java.lang.String type)</h4>
                                <p> Must be a String for a valid NotificationType (ie info, success, warning, or danger) </p>
                            </li>
                        </ul>
                    
                        <a name="userGroupId(java.lang.String)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>public&nbsp;<a href='../../../org/moqui/context/NotificationMessage.html'>NotificationMessage</a> <strong>userGroupId</strong>(java.lang.String userGroupId)</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="userId(java.lang.String)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>public&nbsp;<a href='../../../org/moqui/context/NotificationMessage.html'>NotificationMessage</a> <strong>userId</strong>(java.lang.String userId)</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="userIds(Set<String>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>public&nbsp;<a href='../../../org/moqui/context/NotificationMessage.html'>NotificationMessage</a> <strong>userIds</strong>(java.util.Set&lt;java.lang.String&gt; userIds)</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                </li>
            </ul>
            
        </li>
    </ul>
</div>

<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
    <!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
    <!--   -->
</a>
    <ul class="navList" title="Navigation">
        <li><a href="../../../overview-summary.html">Overview</a></li>
        <li><a href="package-summary.html">Package</a></li>
        <li class="navBarCell1Rev">Class</li>
        <li><a href="../../../deprecated-list.html">Deprecated</a></li>
        <li><a href="../../../index-all.html">Index</a></li>
        <li><a href="../../../help-doc.html">Help</a></li>
    </ul>
</div>

<div class="subNav">
    <div>
        <ul class="navList">
            <li><a href="../../../index.html?org/moqui/context/NotificationMessage" target="_top">Frames</a></li>
            <li><a href="NotificationMessage.html" target="_top">No Frames</a></li>
        </ul>
    </div>
    <div>
        <ul class="subNavList">
            <li>Summary:&nbsp;</li>
            <li><a href="#nested_summary">Nested</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#field_summary">Field</a></li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<li><a href="#method_summary">Method</a></li>&nbsp;&nbsp;&nbsp;
        </ul>
        <ul class="subNavList">
            <li>&nbsp;|&nbsp;Detail:&nbsp;</li>
            <li><a href="#field_detail">Field</a></li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<li><a href="#method_detail">Method</a></li>&nbsp;&nbsp;&nbsp;
        </ul>
    </div>
    <p>Groovy Documentation</p>
    <a name="skip-navbar_bottom">
        <!--   -->
    </a>
    </div>
</div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
